package com.owner.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.owner.entity.Husbandry;

public interface HusbandryDao {
   List<Husbandry>  getAllHusbandries(@Param("name")String name);//查询全部家政的信息
   Husbandry getHusbandryById(@Param("id")int id);//根据id查询家政信息
   int deleteHusbandry(@Param("id")int id);//根据id删除家政信息
   int updateHusbandry(Husbandry husbandry);//根据id 修改家政
   List<Husbandry> getbyId(@Param("id") int id);
   int addHusbandry(Husbandry husbandry);//添加家政信息
}
